<%--
  Created by IntelliJ IDEA.
  User: 斋藤飞鸟の翼
  Date: 2020/11/10
  Time: 19:33
  To change this template use File | Settings | File Templates.
--%>
<%@include file="../common/IncludeTop.jsp"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="BackLink">
    <a href="main">Return to Main Menu</a>
</div>

<div id="Catalog">

    <table>
        <tr>
            <th>Picture</th>
            <th>Product ID</th>
            <th>Name</th>
        </tr>

        <c:forEach var="product" items="${sessionScope.productList}" >
        <tr>
            <td>${product.description}</td>
            <td>
                <b><a href="product?productId=${product.productId}"> ${product.productId}</a></b>
            </td>
            <td>
                ${product.name}
            </td>
        </tr>
        </c:forEach>

    </table>

</div>
<%@include file="../common/IncludeBottom.jsp"%>
